import { ProLayoutProps } from '@ant-design/pro-components';

// 假设 publicPath 从环境变量中获取
const publicPath = process.env.PUBLIC_PATH || '/'; // 默认值为 '/'

/**
 * @name
 */
const Settings: ProLayoutProps & {
    pwa?: boolean;
    logo?: string;
} = {
    colorWeak: true,
    title: '海风',
    navTheme: 'light',
    colorPrimary: 'FA541C',//  '#1890ff',
    layout: 'mix',
    contentWidth: 'Fluid',
    fixedHeader: false,
    fixSiderbar: true,
    pwa: true,
    logo: `${publicPath}favicon.jpg`,
    token: {},
    splitMenus: false,
    siderMenuType: 'sub',// 'group',
};

export default Settings;
